import React from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import IndexPage from './pages/Index';
import LoginPage from './pages/Login';

function App() {
  return (
    <Router>
      <Switch>
        <Route component={ IndexPage } path="/"></Route>
        <Route component={ LoginPage } path="/login"></Route>
      </Switch>
    </Router>
  );
}

export default App;
